<template>
    <div>
        <section>
            <!-- 内部显示子路由内容,router-view包含transition,transition里面也可以包keep-alive -->
            <router-view v-slot="{ Component }">
                <transition name="fade-transform" mode="out-in">
                    <component :is="Component"></component>
                </transition>
            </router-view>
        </section>
    </div>
</template>
<script>
export default {
    name:"AppMain"
}
</script>

<style scoped>

</style>